<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld"%>
<script type="text/javascript">
$(function(){
	if($.cookie("example")){
		$("#myNav li").eq($.cookie("example")).addClass("active");
		$("#myNav li").eq($.cookie("example")).siblings().removeClass("active");
	}else{
		$.cookie("example",0,{path: "/"});	
		$("#myNav li").eq($.cookie("example")).addClass("active");
		
	}
	$("#myNav li").click(function(){
		$.cookie("example",$(this).index(),{path: "/"});
		window.location.href=$(this).attr("src");
	});	
});
</script>
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
	<ul class="nav menu" id="myNav">
		<c:if test="${user!=null }">
			<li src="<%=path %>/project/${proId}/api"><a href="javascript:void(0)"><span
					class="glyphicon glyphicon-list-alt"></span>api列表</a></li>
			<li src="<%=path %>/project/${proId}/module"><a href="javascript:void(0)"><span
					class="glyphicon glyphicon-book"></span>模块列表</a></li>
		</c:if>
	</ul>
	<div class="attribution">
		Made By <a href="http://www.bonc.com.cn/" target="_blank" title="东方国信">BONC</a>
	</div>
</div>
<!--/.sidebar-->

<!-- end -->
